package com.hellobike.haxing.request.order;

import com.hellobike.haxing.request.PageRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;


@ApiModel("订单交货请求")
@Data
@EqualsAndHashCode(callSuper = false)
public class OrderDeliveryRequest  {
    @ApiModelProperty(value = "订单ID")
    @NotNull(message="orderId不为空")
    private Long orderId;

    @ApiModelProperty(value = "提货码")
    @NotEmpty(message="deliveryCode不为空")
    private String deliveryCode;
}
